home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DCharActions.u / ScriptText36.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  871 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5d 0d 63 6c 61 73 73 20 |........|].class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 46 6f 6c 6c 6f 77 50 |DCAction|_FollowP|
|00000020| 6c 61 79 65 72 20 65 78 | 74 65 6e 64 73 20 44 43 |layer ex|tends DC|
|00000030| 68 61 72 41 63 74 69 6f | 6e 3b 0d 0a 0d 0a 76 61 |harActio|n;....va|
|00000040| 72 28 41 63 74 69 6f 6e | 29 20 62 6f 6f 6c 20 20 |r(Action|) bool |
|00000050| 62 4e 6f 41 74 74 61 63 | 6b 09 09 09 22 70 72 65 |bNoAttac|k..."pre|
|00000060| 76 65 6e 74 20 62 6f 74 | 20 66 72 6f 6d 20 61 63 |vent bot| from ac|
|00000070| 71 75 69 72 69 6e 67 20 | 65 6e 65 6d 69 65 73 22 |quiring |enemies"|
|00000080| 3b 0d 0a 76 61 72 28 41 | 63 74 69 6f 6e 29 20 62 |;..var(A|ction) b|
|00000090| 6f 6f 6c 20 20 62 4e 6f | 41 67 67 72 65 73 73 69 |ool bNo|Aggressi|
|000000a0| 6f 6e 09 09 22 77 61 69 | 74 20 66 6f 72 20 70 6c |on.."wai|t for pl|
|000000b0| 61 79 65 72 20 74 6f 20 | 66 69 72 65 20 73 68 6f |ayer to |fire sho|
|000000c0| 74 20 62 65 66 6f 72 65 | 20 61 74 74 61 63 6b 69 |t before| attacki|
|000000d0| 6e 67 22 3b 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |ng";....|function|
|000000e0| 20 53 74 61 72 74 41 63 | 74 69 6f 6e 28 29 0d 0a | StartAc|tion()..|
|000000f0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 44 47 61 6d 65 50 |{...loca|l DGameP|
|00000100| 6c 61 79 65 72 20 50 6c | 61 79 65 72 3b 0d 0a 0d |layer Pl|ayer;...|
|00000110| 0a 09 2f 2f 20 65 78 74 | 72 61 20 73 61 66 65 74 |..// ext|ra safet|
|00000120| 79 20 6a 69 63 2e 2e 2e | 0d 0a 09 69 66 20 28 20 |y jic...|...if ( |
|00000130| 21 47 65 74 42 6f 74 28 | 29 20 29 0d 0a 09 09 72 |!GetBot(|) )....r|
|00000140| 65 74 75 72 6e 3b 0d 0a | 0d 0a 09 50 6c 61 79 65 |eturn;..|...Playe|
|00000150| 72 20 3d 20 47 65 74 42 | 6f 74 28 29 2e 46 69 6e |r = GetB|ot().Fin|
|00000160| 64 50 6c 61 79 65 72 28 | 29 3b 09 09 0d 0a 09 69 |dPlayer(|);.....i|
|00000170| 66 20 28 20 50 6c 61 79 | 65 72 3f 20 29 0d 0a 09 |f ( Play|er? )...|
|00000180| 7b 0d 0a 09 09 47 65 74 | 42 6f 74 28 29 2e 55 6e |{....Get|Bot().Un|
|00000190| 69 6e 73 74 61 6c 6c 50 | 75 70 70 65 74 65 65 72 |installP|uppeteer|
|000001a0| 28 29 3b 0d 0a 09 09 47 | 65 74 42 6f 74 28 29 2e |();....G|etBot().|
|000001b0| 53 65 74 4f 72 64 65 72 | 73 28 20 63 6c 61 73 73 |SetOrder|s( class|
|000001c0| 27 44 42 72 61 69 6e 2e | 44 54 65 72 72 4f 72 64 |'DBrain.|DTerrOrd|
|000001d0| 65 72 46 6f 6c 6c 6f 77 | 27 2c 20 50 6c 61 79 65 |erFollow|', Playe|
|000001e0| 72 20 29 3b 0d 0a 09 09 | 69 66 20 28 20 44 54 65 |r );....|if ( DTe|
|000001f0| 72 72 4f 72 64 65 72 46 | 6f 6c 6c 6f 77 28 47 65 |rrOrderF|ollow(Ge|
|00000200| 74 42 6f 74 28 29 2e 4f | 72 64 65 72 73 29 3f 20 |tBot().O|rders)? |
|00000210| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 44 54 65 72 72 |)....{..|...DTerr|
|00000220| 4f 72 64 65 72 46 6f 6c | 6c 6f 77 28 47 65 74 42 |OrderFol|low(GetB|
|00000230| 6f 74 28 29 2e 4f 72 64 | 65 72 73 29 2e 62 4e 6f |ot().Ord|ers).bNo|
|00000240| 41 74 74 61 63 6b 20 3d | 20 62 4e 6f 41 74 74 61 |Attack =| bNoAtta|
|00000250| 63 6b 3b 0d 0a 09 09 09 | 44 54 65 72 72 4f 72 64 |ck;.....|DTerrOrd|
|00000260| 65 72 46 6f 6c 6c 6f 77 | 28 47 65 74 42 6f 74 28 |erFollow|(GetBot(|
|00000270| 29 2e 4f 72 64 65 72 73 | 29 2e 62 4e 6f 41 67 67 |).Orders|).bNoAgg|
|00000280| 72 65 73 73 69 6f 6e 20 | 3d 20 62 4e 6f 41 67 67 |ression |= bNoAgg|
|00000290| 72 65 73 73 69 6f 6e 3b | 0d 0a 09 09 7d 0d 0a 09 |ression;|....}...|
|000002a0| 09 65 6c 73 65 0d 0a 09 | 09 09 57 61 72 6e 28 22 |.else...|..Warn("|
|000002b0| 46 61 69 6c 65 64 20 74 | 6f 20 61 70 70 6c 79 20 |Failed t|o apply |
|000002c0| 66 6f 6c 6c 6f 77 69 6e | 67 20 6f 72 64 65 72 73 |followin|g orders|
|000002d0| 20 66 72 6f 6d 20 73 63 | 72 69 70 74 65 64 20 73 | from sc|ripted s|
|000002e0| 65 71 75 65 6e 63 65 20 | 66 6f 72 22 40 47 65 74 |equence |for"@Get|
|000002f0| 42 6f 74 28 29 2e 4d 79 | 4e 61 6d 65 28 29 20 29 |Bot().My|Name() )|
|00000300| 3b 0d 0a 09 09 09 0d 0a | 09 09 44 50 70 74 4f 72 |;.......|..DPptOr|
|00000310| 64 46 6f 6c 6c 6f 77 69 | 6e 67 28 47 65 74 42 6f |dFollowi|ng(GetBo|
|00000320| 74 28 29 2e 50 75 70 70 | 65 74 65 65 72 29 2e 62 |t().Pupp|eteer).b|
|00000330| 4e 6f 41 74 74 61 63 6b | 20 3d 20 62 4e 6f 41 74 |NoAttack| = bNoAt|
|00000340| 74 61 63 6b 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f |tack;...|}.....//|
|00000350| 46 69 6e 69 73 68 41 63 | 74 69 6f 6e 28 29 3b 0d |FinishAc|tion();.|
|00000360| 0a 7d 0d 0a 0d 0a 00 | |.}..... | |
+--------+-------------------------+-------------------------+--------+--------+